package com.itmeima.d9_modifer;

public class Fu {
    private void privateMethod() {
        System.out.println("privateMethod");
    }

    void mothod() {
        System.out.println("method");
    }

    protected void protectedMethod() {
        System.out.println("protectedMethod");
    }

    public void publicMethod() {
        System.out.println("publicMethod");
    }

    public void test(){
        privateMethod();
        mothod();
        protectedMethod();
        publicMethod();

    }
}
